package com.wing.purchase.model.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.core.enums.IEnum;
import com.wing.mybatis.common.BaseEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 采购签收
 *
 * @author
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("pur_purchase_sign_for")
public class PurchaseSignFor extends BaseEntity<PurchaseSignFor> implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 签收编号
     */
    private String signNo;

    /**
     * 出入库类型
     */
    private Long inventoryType;

    /**
     * 签收业务类型
     */
    private String signBusinessType;

    /**
     * 签收任务
     */
    private Long signTaskId;

    /**
     * 签收物料数量
     */
    private Integer signSkuNum;

    /**
     * 状态
     */
    private String status;

    /**
     * 质检状态
     */
    private String checkStatus;

    /**
     * 账单ID
     */
    private Long billId;

    /**
     * 采购签收产品集合
     */
    @TableField(exist = false)
    private List<PurchaseSignForProduct> purchaseSignForProducts = new ArrayList<>();


    /**
     * 供应商ID
     */
    private Long supplierId;


    /**
     * 供应商名称
     */
    private String supplierName;

    /**
     * 供应商code
     */
    private String supplierCode;


    /**
     * 签收任务编号
     */
    private String signTaskNo;


}
